package com.woniuxy.service;

import com.woniuxy.entity.Camp;
import com.woniuxy.entity.City;
import com.woniuxy.vo.CampVO;

import java.util.List;
import java.util.Map;

public interface CampService {
    //条件分页查询营地信息
    List<CampVO> pageSelectCampByExample(Map<String, Object> map) throws Exception;

    //统计总页数
    int countCampByExample(Map<String, Object> map) throws Exception;

    //更新营地信息
    int updateCamp(Camp camp) throws Exception;

    //查询所有城市信息
    List<City> selectAllCity() throws Exception;

    //删除营地信息
    int deleteCamp(Integer campId) throws Exception;

    //查询所有营地信息
    List<Camp> selectAllCamp() throws Exception;
    //新增营地信息
    int insertCamp(Camp camp) throws Exception;
    //初始化时  查询营地信息
    List<CampVO> selectAllCampVO() throws Exception;
}
